package com.xr.result;

import com.xr.pojo.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
public class ResultMessages {
    private Boolean flag;
    private String msg; //用于封装消息
    private Object data;

    public ResultMessages(){

    }

    public ResultMessages(Boolean flag, String msg, Object data) {
        this.flag = flag;
        this.msg = msg;
        this.data = data;
    }
}
